<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<s:include value="/commun/header.jsp" />
<div id="body">
<s:if test="%{#session.role=='admin'}">
<ul>

<s:iterator value="clients" status="status">
<li>
	<s:property value="entreprise"/> - <s:property value="nom" /> <s:property value="prenom" />
	<s:url id="update" action="setupForNewClient"><s:param name="client.id" value="id"/></s:url>
		<s:a href="%{update}">Modifier</s:a>
	<s:url id="deleteClient" action="deleteClient"><s:param name="client.id" value="id"/></s:url><s:a href="%{deleteClient}">Supprimer</s:a>
</li>
</s:iterator>
</ul>
</s:if>
</div>
<s:include value="/commun/footer.jsp" />